<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        div{
            width: 800px;
            height: 400px;
            background-color: pink;
            display: flex;
            /*换行*/
            flex-wrap: wrap;
            /*因为有了换行，此时我们侧轴上控制子元素的对齐方式我们用 align-content*/
            /*align-content: flex-start;*/
            /*align-content: center;*/
            /*align-content: flex-end;*/
            /*align-content: space-between;*/
            /*align-content: space-around;*/
            align-content: stretch;
        }
        div span{
            margin: 10px;
            width: 150px;
            /*height: 100px;*/
            background-color: skyblue;
        }
    </style>
</head>
<body>
<div>
    <span>1</span>
    <span>2</span>
    <span>3</span>
    <span>4</span>
    <span>5</span>
    <span>6</span>
</div>
</body>
</html>
